#ifndef SOUNDTHREAD_H
#define SOUNDTHREAD_H
#include <QThread>
#include <QObject>
#include <QSound>
class QSoundThread : public QThread
{
    Q_OBJECT
public:
    explicit QSoundThread(QObject *parent = nullptr);
    QSoundThread(const QString url,QObject* parent = nullptr);
    virtual void run() override;
    void setIsPlay(bool p){isplay = p;}
signals:
public:

    bool isplay;
    QString url;
};

#endif // SOUNDTHREAD_H
